Skip to content

Conversation

@jliusan
Copy link
Member

@jliusan jliusan commented Dec 5, 2025

breaking change check

Copilot AI review requested due to automatic review settings December 5, 2025 06:55
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Dec 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a major migration of the sdk/resourcemanager/postgresql/armpostgresql module from v1 to v2. The migration involves updating the module path, API versions, code generation tooling, and service API endpoints to support the newer PostgreSQL Flexible Server APIs.

Key changes include:

  • Module path updated from armpostgresql to armpostgresql/v2
  • Migration from AutoRest to Go Code Generator for code generation
  • API version updated from 2017-12-01 to 2025-08-01
  • Service endpoints changed from /servers/ to /flexibleServers/

Reviewed changes

Copilot reviewed 71 out of 122 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updated module path to v2
migrations_client.go Added new migrations client for database migration operations
migrations_client_example_test.go Added comprehensive example tests for migrations client
firewallrules_client.go Updated API version and endpoints to flexible servers
firewallrules_client_example_test.go Updated examples with new API patterns
servers_client.go Updated server operations for flexible servers API
fake/servers_server.go Updated fake server implementation with new methods (Start/Stop)
fake/server_factory.go Expanded fake server factory with new client types
Multiple removed files Removed deprecated clients (LogFiles, ServerKeys, ServerAdministrators, etc.)
Multiple new fake files Added fake servers for new clients (VirtualEndpoints, TuningOptions, etc.)

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

sdk/resourcemanager/postgresql/armpostgresql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants